package com.hdoit.kylin.logical.document.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;

/**
 * @author luozhicheng
 * @email
 * @createtime 2017年07月18日 19:34:53
 * @comment
 */
@Entity
@Table(name = "data_achievement")
public class Achievement extends ModelBase {
	// id
	@Id
	@Column(name = "id")
	private String id;
	// 上传者ID
	@Column(name = "employeeId")
	private String employeeId;
	// 作者名称
	@Column(name = "authors")
	private String authors;
	// 成果名称
	@Column(name = "achievementName")
	private String achievementName;
	// 发表时间
	@Column(name = "publishDate")
	private Date publishDate;
	// 出版社或杂志名称
	@Column(name = "publishName")
	private String publishName;
	// 描述
	@Column(name = "comments")
	private String comments;
	// 类型
	@Column(name = "type")
	private String type;
	// 课题Id
	@Column(name = "groupId")
	private String groupId;
	// 公开状态
	@Column(name = "state")
	private String state;

	//课题组名称
	@Transient
	private String theGroupName;

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getAuthors() {
		return this.authors;
	}

	public void setAuthors(String authors) {
		this.authors = authors;
	}

	public String getAchievementName() {
		return this.achievementName;
	}

	public void setAchievementName(String achievementName) {
		this.achievementName = achievementName;
	}

	public Date getPublishDate() {
		return this.publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public String getPublishName() {
		return this.publishName;
	}

	public void setPublishName(String publishName) {
		this.publishName = publishName;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public String getTheGroupName() {
		return theGroupName;
	}

	public void setTheGroupName(String theGroupName) {
		this.theGroupName = theGroupName;
	}
}
